package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("iot_access_info")
public class AccessInfo {
    @TableId(type= IdType.AUTO)
    private Integer id;
    @TableField("product_key")
    private String productKey;
    @TableField("device_name")
    private String deviceName;
    @TableField("device_secret")
    private String deviceSecret;
    @TableField("create_time")
    private Date createTime;
}
